1 // From Colloquy (http://colloquy.info/)
3 #import <AppKit/NSTextField.h>
7 @interface JVFontPreviewField
: NSTextField
{
12 - (void)selectFont
:(id
)sender
;
13 - (IBAction
)chooseFontWithFontPanel
:(id
)sender
;
14 - (void)setShowPointSize
:(BOOL
)show
;
15 - (void)setShowFontFace
:(BOOL
)show
;
18 @interface
NSObject (JVFontPreviewFieldDelegate
)
19 - (BOOL
)fontPreviewField
:(JVFontPreviewField
*)field shouldChangeToFont
:(NSFont
*)font
;
20 - (void)fontPreviewField
:(JVFontPreviewField
*)field didChangeToFont
:(NSFont
*)font
;